home *** CD-ROM | disk | FTP | other *** search
- Tutorial 2
-
- Making a text disk
-
- The disk, Tutorial: is to become a simple autobooting disk that loads and
- displays some text on the screen. This is not as easy as it looks because
- all disks need special files on them to run. Some of them are not always
- needed but we will be copying them all so any autobooting (a posh word for
- loading when you put it in the drive) disk you make will have all the
- necessary files on it. Now we will need to explore some of the theory
- behind autobooting disks first, so they become easier to understand. When
- a disk is put in the drive after turning the Amiga on, at the Insert Disk
- screen (purple with an animated disk going into the drive), AmigaDOS, the
- Amiga's operating system, checks it for a bootblock. This is a small part
- of the disk that makes it autobooting. To put a bootblock on a disk, you
- use the command install. We will put a bootblock onto Tutorial: now, by
- typing
-
- Install ?
-
- at the CLI prompt. A `template' like that for the Format command comes up.
- Just put the Tutorial: disk in the drive then type Df0:. A bootblock is
- written to the disk. But a bootblock is not the only thing that makes a
- disk autobooting. If you reset the computer and put Tutorial: in the drive
- now, a CLI prompt would come up and that would be it. This is because
- AmigaDOS needs a file called the Startup-sequence to tell it what to do on
- the disk. Before we make that sequence, we have o copy some files to
- Tutorial:. Type these lines at a CLI prompt, pressing RETURN after each
- one...
-
- Resident C:copy
- CD SYS:
- Copy Devs/System-Configuration to RAM:
- Copy C:Type to RAM:
- CD RAM:
- Copy System-Configuration to Tutorial:Devs
- Copy Type to Tutorial:C
- CD SYS:
-
- Type is the AmigaDOS command that prints text to the screen. System-
- configuration is a file that tells the computer which colours the screen is
- to be in, the current printer and much more. It is like a shortened
- version of Preferences for a few small things.
-
- Now is the time to take out a pen and do a bit of writing! If you have a
- printer connected and set up, click on Print File to get a hard copy of
- this text, otherwise write down these instructions before you type
- them in.
-
- ******START
-
- Ed Tutorial:S/Startup-Sequence
-
- Type the line
-
- Type Message
-
- In the Ed window then select Save from the menu and delete the line you
- have just written and type a short message, anything you like, and choose
- the menu option Save As... Select the root directory of Tutorial (the disk
- itself, not inside any drawers) and delete the name (which currently reads
- startup-sequence) and type Message. Then quit Ed and return to this text.
-
- ******END
-
- Now finish reading this text and then try loading Tutorial:. if it fails,
- read this text again, using the command Dir to make sure everything is in
- order. Dir <directory name> lets you see inside a drawer. Use the Copy
- command to copy files to a different place if they are positioned
- incorrectly.
-
- Checklist
-
- Now you can...
-
- o Install a disk so it is bootable
- o Copy files to any destination
- o Use Ed, the Amiga's text-editor to write text files
- o Make a disk that is autobooting
- o Use the Type command to type some text to the screen
-
- Now switch your computer off for the day or continue to Tutorial 3.
-